using System;
namespace AppToolKit.Core.ObjectCopy
{
	public class ObjectCopyStrategyFactoy
	{
		private ObjectCopyStrategyFactoy()
		{
		}
		public static IObjectCopyStrategy GetCopyStrategy(ObjectCopyStrategy method)
		{
			if (method == ObjectCopyStrategy.Property)
			{
				return new PropertyCopyStrategy();
			}
			throw new ObjectCopyExecption("构造方法对象出错");
		}
	}
}
